package org.kzwl.service.web;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.kzwl.comm.pojo.ResponseData;
import org.kzwl.comm.pojo.bo.QueryThearBO;
import org.kzwl.comm.pojo.bo.SaveThearBO;
import org.kzwl.comm.pojo.bo.ThearApprovalBO;
import org.kzwl.comm.pojo.bo.ThearAuditBO;
import org.kzwl.comm.pojo.bo.thear.AddThearBO;
import org.kzwl.comm.pojo.bo.thear.ThearDetails;
import org.kzwl.comm.pojo.bo.thear.ThearQueryBasicBO;
import org.kzwl.comm.pojo.dto.ThearApprovalDTO;
import org.kzwl.comm.pojo.dto.thear.ThearDetailsDTO;
import org.kzwl.entity.web.Thear;

public interface ThearService extends IService<Thear> {

    ResponseData<Void> saveOne(SaveThearBO saveThearBO);

    ResponseData<IPage<Thear>> queryPage(QueryThearBO queryThearBO);

    ResponseData<Thear> queryOne(Long Id);

    ResponseData<Void> deleteId(Long Id);

    ResponseData<Void> updateId(Thear thear);

    //基础查询-wen接口
    IPage<Thear> queryBasic(ThearQueryBasicBO thear);

    //查询风采详细-web接口
    ThearDetailsDTO queryDetails(ThearDetails bo);

    //风采展示发布
    void addThear(AddThearBO bo);

    ResponseData<IPage<ThearApprovalDTO>> queryApproval(ThearApprovalBO thearApprovalBO);


    ResponseData<Void> thearAudit(ThearAuditBO thearAuditBO);

}

